package cn.fws.meap.community.vo;

import cn.fws.meap.community.entity.Article;
import cn.fws.meap.user.entity.User;

import java.util.Date;
import java.util.List;

/**
 * 文章详情
 */
public class ArticleDetails extends Article {

    /** 文章标题 */
   private String articleTitle;
    /** 发布时间 */
    private Date createTime;
    /** 文章内容*/
    private String msgAddress;
    /** 文章的图片和头像*/
    private List pictures;
    /** 点赞头像*/
    private List evaluatesPictures;
    /**文章内容  */
    private String articleMsg;
    /** 关联User对象 */
    private User users;
    /** 点赞个数 */
    private Integer  evaluateCount;

    public ArticleDetails() {
    }

    public ArticleDetails(String articleTitle, Date createTime, String msgAddress, List pictures, List evaluatesPictures, String articleMsg, User users, Integer evaluateCount) {
        this.articleTitle = articleTitle;
        this.createTime = createTime;
        this.msgAddress = msgAddress;
        this.pictures = pictures;
        this.evaluatesPictures = evaluatesPictures;
        this.articleMsg = articleMsg;
        this.users = users;
        this.evaluateCount = evaluateCount;
    }

    public String getArticleTitle() {
        return articleTitle;
    }

    public void setArticleTitle(String articleTitle) {
        this.articleTitle = articleTitle;
    }

    public List getPictures() {
        return pictures;
    }

    public void setPictures(List pictures) {
        this.pictures = pictures;
    }

    public List getEvaluatesPictures() {
        return evaluatesPictures;
    }

    public void setEvaluatesPictures(List evaluatesPictures) {
        this.evaluatesPictures = evaluatesPictures;
    }

    public String getArticleMsg() {
        return articleMsg;
    }

    public void setArticleMsg(String articleMsg) {
        this.articleMsg = articleMsg;
    }

    public User getUsers() {
        return users;
    }

    public void setUsers(User users) {
        this.users = users;
    }

    public Integer getEvaluateCount() {
        return evaluateCount;
    }

    public void setEvaluateCount(Integer evaluateCount) {
        this.evaluateCount = evaluateCount;
    }

    public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

    public String getMsgAddress() {
        return msgAddress;
    }

    public void setMsgAddress(String msgAddress) {
        this.msgAddress = msgAddress;
    }

    @Override
    public String toString() {
        return "ArticleDetails{" +
                "articleTitle='" + articleTitle + '\'' +
                ", pictures=" + pictures +
                ", evaluatesPictures=" + evaluatesPictures +
                ", articleMsg='" + articleMsg + '\'' +
                ", users=" + users +
                ", evaluateCount=" + evaluateCount +
                '}';
    }
}
